<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020.06.19
  Time: 上午 9:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/css/layui.css">
</head>
<body>


        <form action="/go" method="post">

            <div class="layui-form-item">
                <label class="layui-form-label">登录帐号</label>
                <div class="layui-input-block" style="width: 250px;">
                    <input name="account" type="text" lay-verify="required" placeholder="登录帐号(必填)" autocomplete="off" class="layui-input">

                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">登录密码</label>
                <div class="layui-input-inline" style="width: 250px;">
                    <input name="password"  type="password" lay-verify="required" placeholder="登录密码(必填)" autocomplete="off" class="layui-input">

                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">验证码</label>
                <div class="layui-input-block"  >
            <input type="text" name="check" placeholder="验证码(必填)" autocomplete="off" class="layui-input" style="width: 100px; float: left; margin-right: 14px">
                    <img src="checkCode" height="32px" alt="" onclick="changeCheckCode(this)">
                </div>
            </div>
            <%--<input type="text" id="check" name="check" class="check">--%>
        <!--checkCode?-->
            <div class="layui-form-item">
                <div class="layui-input-block">
        <%--<input type="submit" value="提交" class="layui-btn layui-btn-default">--%>
                    <button style="margin-top: 10px; type="submit" class="layui-btn layui-btn-default" id="loginButton" lay-submit lay-filter="loginForm">
                    <i class="layui-icon">စ</i>&nbsp;登录系统
                    </button>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label" ></label>
                <div>
                    <a  href="http://crm.bigpeng.cn:80/pages/forgotPasswd.jsp">忘记密码</a>
                </div>
            </div>
        </form>
        <script type="text/javascript">
            //图片点击事件
            function changeCheckCode(img) {
                img.src = "checkCode?" + new Date().getTime();
            }</script>
        <script src="${pageContext.request.contextPath}/static/layui/layui.js"></script>
        <script>
            //JavaScript代码区域
            layui.use('element', function(){
                var element = layui.element;

            })
        </script>
</body>
</html>
